<template>
    <div class="login_box">
        <div class="form_info">
            <dl class="form">
                <dt><img src="@/assets/images/login_from_bj.jpg" alt="vue login_form_bj"></dt>
                <dt>
                    <div class="login_body">
                        <div class="header">
                            <h1>登录</h1>
                            <span>没有账户?<a>现在注册</a></span>
                        </div>
                        <div class="field">
                            <span class="iconfont icon-zhanghu"></span>
                            <input type="text" placeholder="账号">
                        </div>
                        <div class="field">
                            <span class="iconfont icon-mima"></span>
                            <input type="text" placeholder="密码">
                        </div>
                        <div class="submit">
                            <button @click="login">登录</button>
                        </div>
                    </div>
                </dt>
            </dl>
            <div class="login_footer">2021@路小北 这是超级管理员登录系统</div>
        </div>
    </div>
</template>
<script>
export default {
    name:"Login",
    components:{
        
    },
    data(){
        return {
           
        }
    },
    methods:{
        login(){
            //this.$router.push({path:"Admin"});
            // this.$store.commit('updateA',5);

            this.ajax.post("/server/api/query/login",{type:'sign_in',user_name:"admin",pwd:"123456"}).then((res) => {
                console.log(res)
            })
        }
    }
}
</script>
